package com.vivz.baby.rest.bootstrap;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@Configuration
@ComponentScan(value = "com.vivz.baby")
@EnableAutoConfiguration
@EnableWebMvc
@ImportResource({ "classpath:jpaConfig.xml" })
public class Main {

    public static void main(final String[] args) {
	SpringApplication.run(Main.class, args);
    }

}